package edu.zzu.mapper;

import edu.zzu.Entity.TransNode;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

public interface TransNodeMapper extends Mapper<TransNode> {

    @Select("select name from TransNode where id=#{id}")
    String selectNameById(Long id);

    @Select("select regionCode from TransNode where id=#{id}")
    String selectRegionCodeById(Long id);


}
